﻿using MOD_TaiYangQiu.model;
using System.Collections.Generic;

namespace MOD_TaiYangQiu.config
{
    public static class BaseConfig
    {

        /// <summary>
        /// json文件版本
        /// </summary>
        public static string jsonVersion = "1.2.1";
        /// <summary>
        /// 是否发放给妻子
        /// </summary>
        public static bool isWife = false;

        /// <summary>
        /// 是否发放给道侣
        /// </summary>
        public static bool isCouple = false;
        /// <summary>
        /// 是否发放给父母
        /// </summary>
        public static bool isParent = false;
        /// <summary>
        /// 是否发放给子女
        /// </summary>
        public static bool isChildren = false;
        /// <summary>
        /// 是否发放给兄弟姐妹
        /// </summary>
        public static bool isBrother = false;

        /// <summary>
        /// 宗门配置项
        /// </summary>
        public static School school;

        /// <summary>
        /// 是否发放给徒弟
        /// </summary>
        public static bool isStudent = false;

        /// <summary>
        /// 是否发放给师傅
        /// </summary>
        public static bool isTeacher = false;

        /// <summary>
        /// 是否必须低于游戏角色境界
        /// </summary>
        public static bool isLowGrade = false;

        /// <summary>
        /// 建木空间数据存储索引
        /// </summary>
        public static int storageIndex = 0;

        /// <summary>
        /// 是否发放福利
        /// </summary>
        public static bool isSendWelfare = false;

        /// <summary>
        /// 发放福利月份
        /// </summary>
        public static List<int> sendWelfareMonth = new List<int>();
        /// <summary>
        /// 是否学习武功
        /// </summary>
        public static bool isStudyMartial = false;

        /// <summary>
        /// 道魂编号
        /// </summary>
        public static int daoHunId;
        /// <summary>
        /// 化神之气配置
        /// </summary>
        public static HuaShenZhiQi huaShenZhiQi;
        /// <summary>
        /// 资质数据
        /// </summary>
        public static List<AptitudeData> aptitudeData;
        /// <summary>
        /// 突破物资发放可能性
        /// </summary>
        public static int probability;

        /// <summary>
        /// 瓶颈气运
        /// </summary>
        public static List<int> lockLuck = new List<int>();
        /// <summary>
        /// 练气前期 允许材料
        /// </summary>
        public static List<ItemModel> lianQi_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 练气中期 允许材料
        /// </summary>
        public static List<ItemModel> lianQi_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 练气后期 允许材料
        /// </summary>
        public static List<ItemModel> lianQi_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 筑基前期 允许材料
        /// </summary>
        public static List<ItemModel> zhuJi_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 筑基中期 允许材料
        /// </summary>
        public static List<ItemModel> zhuJi_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 筑基后期 允许材料
        /// </summary>
        public static List<ItemModel> zhuJi_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 结晶前期 允许材料
        /// </summary>
        public static List<ItemModel> jieJing_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 结晶中期 允许材料
        /// </summary>
        public static List<ItemModel> jieJing_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 结晶后期 允许材料
        /// </summary>
        public static List<ItemModel> jieJing_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 金丹前期 允许材料
        /// </summary>
        public static List<ItemModel> jinDan_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 金丹中期 允许材料
        /// </summary>
        public static List<ItemModel> jinDan_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 金丹后期 允许材料
        /// </summary>
        public static List<ItemModel> jinDan_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 具灵前期 允许材料
        /// </summary>
        public static List<ItemModel> juLing_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 具灵中期 允许材料
        /// </summary>
        public static List<ItemModel> juLing_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 具灵后期 允许材料
        /// </summary>
        public static List<ItemModel> juLing_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 元婴前期 允许材料
        /// </summary>
        public static List<ItemModel> yuanYing_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 元婴中期 允许材料
        /// </summary>
        public static List<ItemModel> yuanYing_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 元婴后期 允许材料
        /// </summary>
        public static List<ItemModel> yuanYing_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 化神前期 允许材料
        /// </summary>
        public static List<ItemModel> huaShen_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 化神中期 允许材料
        /// </summary>
        public static List<ItemModel> huaShen_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 化神后期 允许材料
        /// </summary>
        public static List<ItemModel> huaShen_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 悟道前期 允许材料
        /// </summary>
        public static List<ItemModel> wuDao_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 悟道中期 允许材料
        /// </summary>
        public static List<ItemModel> wuDao_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 悟道后期 允许材料
        /// </summary>
        public static List<ItemModel> wuDao_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 羽化前期 允许材料
        /// </summary>
        public static List<ItemModel> yuHua_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 羽化中期 允许材料
        /// </summary>
        public static List<ItemModel> yuHua_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 羽化后期 允许材料
        /// </summary>
        public static List<ItemModel> yuHua_H_Yes = new List<ItemModel>();
        /// <summary>
        /// 悟道前期 允许材料
        /// </summary>
        public static List<ItemModel> dengXian_Q_Yes = new List<ItemModel>();
        /// <summary>
        /// 登仙中期 允许材料
        /// </summary>
        public static List<ItemModel> dengXian_Z_Yes = new List<ItemModel>();
        /// <summary>
        /// 登仙后期 允许材料
        /// </summary>
        public static List<ItemModel> dengXian_H_Yes = new List<ItemModel>();


        /// <summary>
        /// 练气福利
        /// </summary>
        public static List<ItemModel> lianQi_Welfare = new List<ItemModel>();
        /// <summary>
        /// 筑基福利
        /// </summary>
        public static List<ItemModel> zhuJi_Welfare = new List<ItemModel>();
        /// <summary>
        /// 结晶福利
        /// </summary>
        public static List<ItemModel> jieJing_Welfare = new List<ItemModel>();
        /// <summary>
        /// 金丹福利
        /// </summary>
        public static List<ItemModel> jinDan_Welfare = new List<ItemModel>();
        /// <summary>
        /// 具灵福利
        /// </summary>
        public static List<ItemModel> juLing_Welfare = new List<ItemModel>();
        /// <summary>
        /// 元婴福利
        /// </summary>
        public static List<ItemModel> yuanYing_Welfare = new List<ItemModel>();
        /// <summary>
        /// 化神福利
        /// </summary>
        public static List<ItemModel> huaShen_Welfare = new List<ItemModel>();
        /// <summary>
        /// 悟道福利
        /// </summary>
        public static List<ItemModel> wuDao_Welfare = new List<ItemModel>();
        /// 羽化福利
        /// </summary>
        public static List<ItemModel> yuHua_Welfare = new List<ItemModel>();
        /// <summary>
        /// 登仙福利
        /// </summary>
        public static List<ItemModel> dengXian_Welfare = new List<ItemModel>();

        /// <summary>
        /// 初始化
        /// </summary>
        public static void Init()
        {
            //道具 
            lianQi_Q_Yes = new List<ItemModel>();
            lianQi_Z_Yes = new List<ItemModel>();
            lianQi_H_Yes = new List<ItemModel>();
            zhuJi_Q_Yes = new List<ItemModel>();
            zhuJi_Z_Yes = new List<ItemModel>();
            zhuJi_H_Yes = new List<ItemModel>();
            jieJing_Q_Yes = new List<ItemModel>();
            jieJing_Z_Yes = new List<ItemModel>();
            jieJing_H_Yes = new List<ItemModel>();
            jinDan_Q_Yes = new List<ItemModel>();
            jinDan_Z_Yes = new List<ItemModel>();
            jinDan_H_Yes = new List<ItemModel>();
            juLing_Q_Yes = new List<ItemModel>();
            juLing_Z_Yes = new List<ItemModel>();
            juLing_H_Yes = new List<ItemModel>();
            yuanYing_Q_Yes = new List<ItemModel>();
            yuanYing_Z_Yes = new List<ItemModel>();
            yuanYing_H_Yes = new List<ItemModel>();
            huaShen_Q_Yes = new List<ItemModel>();
            huaShen_Z_Yes = new List<ItemModel>();
            huaShen_H_Yes = new List<ItemModel>();
            wuDao_Q_Yes = new List<ItemModel>();
            wuDao_Z_Yes = new List<ItemModel>();
            wuDao_H_Yes = new List<ItemModel>();
            yuHua_Q_Yes = new List<ItemModel>();
            yuHua_Z_Yes = new List<ItemModel>();
            yuHua_H_Yes = new List<ItemModel>();
            dengXian_Q_Yes = new List<ItemModel>();
            dengXian_Z_Yes = new List<ItemModel>();
            dengXian_H_Yes = new List<ItemModel>();
            //福利
            lianQi_Welfare = new List<ItemModel>();
            zhuJi_Welfare = new List<ItemModel>();
            jieJing_Welfare = new List<ItemModel>();
            jinDan_Welfare = new List<ItemModel>();
            juLing_Welfare = new List<ItemModel>();
            yuanYing_Welfare = new List<ItemModel>();
            huaShen_Welfare = new List<ItemModel>();
            wuDao_Welfare = new List<ItemModel>();
            yuHua_Welfare = new List<ItemModel>();
            dengXian_Welfare = new List<ItemModel>();
            //资质
            aptitudeData = new List<AptitudeData>();
            school = new School();
        }
    }
}
